<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>phpDocumentor » \ActiveRecord\Validations</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner"><div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">phpDocumentor</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
                                    API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/ActiveRecord.html"><i class="icon-folder-open"></i> ActiveRecord</a></li>
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
                                    Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
                                    Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
                <span class="label label-info">310</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
                <ul><li>todo 
                <span class="label label-info">5</span>
</li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
                <span class="label label-info">3</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
                            Javascript is disabled; several features are only available
                            if Javascript is enabled.
                        </div></noscript>
<div class="row">
<div class="span4">
<span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i class="icon-custom icon-method"></i> Methods
                    <ul>
<li class="method public "><a href="#method___construct" title="__construct :: Constructs a {@link Validations} object."><span class="description">Constructs a {@link Validations} object.</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#method_get_record" title="get_record :: "><span class="description">get_record()
        </span><pre>get_record()</pre></a></li>
<li class="method public "><a href="#method_rules" title="rules :: Returns validator data."><span class="description">Returns validator data.</span><pre>rules()</pre></a></li>
<li class="method public "><a href="#method_validate" title="validate :: Runs the validators."><span class="description">Runs the validators.</span><pre>validate()</pre></a></li>
<li class="method public "><a href="#method_validates_exclusion_of" title="validates_exclusion_of :: This is the opposite of {@link validates_include_of}."><span class="description">This is the opposite of {@link validates_include_of}.</span><pre>validates_exclusion_of()</pre></a></li>
<li class="method public "><a href="#method_validates_format_of" title="validates_format_of :: Validates that a value is matches a regex."><span class="description">Validates that a value is matches a regex.</span><pre>validates_format_of()</pre></a></li>
<li class="method public "><a href="#method_validates_inclusion_of" title="validates_inclusion_of :: Validates that a value is included the specified array."><span class="description">Validates that a value is included the specified array.</span><pre>validates_inclusion_of()</pre></a></li>
<li class="method public "><a href="#method_validates_inclusion_or_exclusion_of" title="validates_inclusion_or_exclusion_of :: Validates that a value is in or out of a specified list of values."><span class="description">Validates that a value is in or out of a specified list of values.</span><pre>validates_inclusion_or_exclusion_of()</pre></a></li>
<li class="method public "><a href="#method_validates_length_of" title="validates_length_of :: Validates the length of a value."><span class="description">Validates the length of a value.</span><pre>validates_length_of()</pre></a></li>
<li class="method public "><a href="#method_validates_numericality_of" title="validates_numericality_of :: Validates that a value is numeric."><span class="description">Validates that a value is numeric.</span><pre>validates_numericality_of()</pre></a></li>
<li class="method public "><a href="#method_validates_presence_of" title="validates_presence_of :: Validates a field is not null and not blank."><span class="description">Validates a field is not null and not blank.</span><pre>validates_presence_of()</pre></a></li>
<li class="method public "><a href="#method_validates_size_of" title="validates_size_of :: Alias of {@link validates_length_of}"><span class="description">Alias of {@link validates_length_of}</span><pre>validates_size_of()</pre></a></li>
<li class="method public "><a href="#method_validates_uniqueness_of" title="validates_uniqueness_of :: Validates the uniqueness of a value."><span class="description">Validates the uniqueness of a value.</span><pre>validates_uniqueness_of()</pre></a></li>
</ul>
</li>
<li class="nav-header private">» Private
                    <ul>
<li class="method private "><a href="#method_is_blank_with_option" title="is_blank_with_option :: "><span class="description">is_blank_with_option()
        </span><pre>is_blank_with_option()</pre></a></li>
<li class="method private "><a href="#method_is_null_with_option" title="is_null_with_option :: "><span class="description">is_null_with_option()
        </span><pre>is_null_with_option()</pre></a></li>
</ul>
</li>
<li class="nav-header">
<i class="icon-custom icon-property"></i> Properties
                    <ul></ul>
</li>
<li class="nav-header private">» Private
                    <ul>
<li class="property private "><a href="#property_ALL_NUMERICALITY_CHECKS" title="$ALL_NUMERICALITY_CHECKS :: "><span class="description"></span><pre>$ALL_NUMERICALITY_CHECKS</pre></a></li>
<li class="property private "><a href="#property_ALL_RANGE_OPTIONS" title="$ALL_RANGE_OPTIONS :: "><span class="description"></span><pre>$ALL_RANGE_OPTIONS</pre></a></li>
<li class="property private "><a href="#property_DEFAULT_VALIDATION_OPTIONS" title="$DEFAULT_VALIDATION_OPTIONS :: "><span class="description"></span><pre>$DEFAULT_VALIDATION_OPTIONS</pre></a></li>
<li class="property private "><a href="#property_VALIDATION_FUNCTIONS" title="$VALIDATION_FUNCTIONS :: "><span class="description"></span><pre>$VALIDATION_FUNCTIONS</pre></a></li>
<li class="property private "><a href="#property_model" title="$model :: "><span class="description"></span><pre>$model</pre></a></li>
<li class="property private "><a href="#property_options" title="$options :: "><span class="description"></span><pre>$options</pre></a></li>
<li class="property private "><a href="#property_record" title="$record :: "><span class="description"></span><pre>$record</pre></a></li>
<li class="property private "><a href="#property_validators" title="$validators :: "><span class="description"></span><pre>$validators</pre></a></li>
</ul>
</li>
</ul>
</div>
<div class="span8">
<a id="\ActiveRecord\Validations"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
<li><a href="../namespaces/ActiveRecord.html">ActiveRecord</a></li>
<li class="active">
<span class="divider">\</span><a href="../classes/ActiveRecord.Validations.html">Validations</a>
</li>
</ul>
<div class="element class">
<p class="short_description">Manages validations for a {@link Model}.</p>
<div class="details">
<div class="long_description"><p>This class isn't meant to be directly used. Instead you define
validators thru static variables in your <a href="Model">Model</a>. Example:</p>

<pre><code>class Person extends ActiveRecord\Model {
  static $validates_length_of = array(
    array('name', 'within' => array(30,100),
    array('state', 'is' => 2)
  );
}

$person = new Person();
$person->name = 'Tito';
$person->state = 'this is not two characters';

if (!$person->is_valid())
  print_r($person->errors);
</code></pre></div>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="../packages/ActiveRecord.html">ActiveRecord</a></td>
</tr>
<tr>
<th>see</th>
<td><a href="protected.core.libs.active_record.lib.Validations.html#%5CActiveRecord%5CErrors">\ActiveRecord\Errors</a></td>
</tr>
<tr>
<th>link</th>
<td><a href="http://www.phpactiverecord.org/guides/validations">http://www.phpactiverecord.org/guides/validations</a></td>
</tr>
</table>
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
<a id="method___construct"></a><div class="element clickable method public method___construct" data-toggle="collapse" data-target=".method___construct .collapse">
<h2>Constructs a {@link Validations} object.</h2>
<pre>__construct(\ActiveRecord\Model $model) : <a href="../classes/ActiveRecord.Validations.html">\ActiveRecord\Validations</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$model</h4>
<code><a href="../classes/ActiveRecord.Model.html">\ActiveRecord\Model</a></code><p>The model to validate</p></div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/ActiveRecord.Validations.html">\ActiveRecord\Validations</a></code></div>
</div></div>
</div>
<a id="method_get_record"></a><div class="element clickable method public method_get_record" data-toggle="collapse" data-target=".method_get_record .collapse">
<h2>get_record()
        </h2>
<pre>get_record() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method_rules"></a><div class="element clickable method public method_rules" data-toggle="collapse" data-target=".method_rules .collapse">
<h2>Returns validator data.</h2>
<pre>rules() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a id="method_validate"></a><div class="element clickable method public method_validate" data-toggle="collapse" data-target=".method_validate .collapse">
<h2>Runs the validators.</h2>
<pre>validate() : <a href="../classes/ActiveRecord.Errors.html">\ActiveRecord\Errors</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response">
<code><a href="../classes/ActiveRecord.Errors.html">\ActiveRecord\Errors</a></code>the validation errors if any</div>
</div></div>
</div>
<a id="method_validates_exclusion_of"></a><div class="element clickable method public method_validates_exclusion_of" data-toggle="collapse" data-target=".method_validates_exclusion_of .collapse">
<h2>This is the opposite of {@link validates_include_of}.</h2>
<pre>validates_exclusion_of(array $attrs) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"><p>Available options:</p>

<ul>
<li><b>in/within:</b> attribute should/shouldn't be a value within an array</li>
<li><b>message:</b> custome error message</li>
<li><b>allow_blank:</b> allow blank strings</li>
<li><b>allow_null:</b> allow null strings</li>
</ul></div>
<table class="table table-bordered"><tr>
<th>see</th>
<td><a href="">\ActiveRecord\validates_inclusion_of</a></td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$attrs</h4>
<code>array</code><p>Validation definition</p></div>
</div></div>
</div>
<a id="method_validates_format_of"></a><div class="element clickable method public method_validates_format_of" data-toggle="collapse" data-target=".method_validates_format_of .collapse">
<h2>Validates that a value is matches a regex.</h2>
<pre>validates_format_of(array $attrs) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"><pre><code>class Person extends ActiveRecord\Model {
  static $validates_format_of = array(
    array('email', 'with' => '/^.*?@.*$/')
  );
}
</code></pre>

<p>Available options:</p>

<ul>
<li><b>with:</b> a regular expression</li>
<li><b>message:</b> custom error message</li>
<li><b>allow_blank:</b> allow blank strings</li>
<li><b>allow_null:</b> allow null strings</li>
</ul></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$attrs</h4>
<code>array</code><p>Validation definition</p></div>
</div></div>
</div>
<a id="method_validates_inclusion_of"></a><div class="element clickable method public method_validates_inclusion_of" data-toggle="collapse" data-target=".method_validates_inclusion_of .collapse">
<h2>Validates that a value is included the specified array.</h2>
<pre>validates_inclusion_of(array $attrs) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"><pre><code>class Car extends ActiveRecord\Model {
  static $validates_inclusion_of = array(
    array('fuel_type', 'in' => array('hyrdogen', 'petroleum', 'electric')),
  );
}
</code></pre>

<p>Available options:</p>

<ul>
<li><b>in/within:</b> attribute should/shouldn't be a value within an array</li>
<li><b>message:</b> custome error message</li>
<li><b>allow_blank:</b> allow blank strings</li>
<li><b>allow_null:</b> allow null strings</li>
</ul></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$attrs</h4>
<code>array</code><p>Validation definition</p></div>
</div></div>
</div>
<a id="method_validates_inclusion_or_exclusion_of"></a><div class="element clickable method public method_validates_inclusion_or_exclusion_of" data-toggle="collapse" data-target=".method_validates_inclusion_or_exclusion_of .collapse">
<h2>Validates that a value is in or out of a specified list of values.</h2>
<pre>validates_inclusion_or_exclusion_of(string $type, $attrs) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"><p>Available options:</p>

<ul>
<li><b>in/within:</b> attribute should/shouldn't be a value within an array</li>
<li><b>message:</b> custome error message</li>
<li><b>allow_blank:</b> allow blank strings</li>
<li><b>allow_null:</b> allow null strings</li>
</ul></div>
<table class="table table-bordered">
<tr>
<th>see</th>
<td><a href="">\ActiveRecord\validates_inclusion_of</a></td>
</tr>
<tr>
<th>see</th>
<td><a href="">\ActiveRecord\validates_exclusion_of</a></td>
</tr>
</table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$type</h4>
<code>string</code><p>Either inclusion or exclusion</p></div>
<div class="subelement argument">
<h4>$attrs</h4><p>Validation definition</p></div>
</div></div>
</div>
<a id="method_validates_length_of"></a><div class="element clickable method public method_validates_length_of" data-toggle="collapse" data-target=".method_validates_length_of .collapse">
<h2>Validates the length of a value.</h2>
<pre>validates_length_of(array $attrs) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"><pre><code>class Person extends ActiveRecord\Model {
  static $validates_length_of = array(
    array('name', 'within' => array(1,50))
  );
}
</code></pre>

<p>Available options:</p>

<ul>
<li><b>is:</b> attribute should be exactly n characters long</li>
<li><b>in/within:</b> attribute should be within an range array(min,max)</li>
<li><b>maximum/minimum:</b> attribute should not be above/below respectively</li>
<li><b>message:</b> custome error message</li>
<li><b>allow_blank:</b> allow blank strings</li>
<li><b>allow_null:</b> allow null strings. (Even if this is set to false, a null string is always shorter than a maximum value.)</li>
</ul></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$attrs</h4>
<code>array</code><p>Validation definition</p></div>
</div></div>
</div>
<a id="method_validates_numericality_of"></a><div class="element clickable method public method_validates_numericality_of" data-toggle="collapse" data-target=".method_validates_numericality_of .collapse">
<h2>Validates that a value is numeric.</h2>
<pre>validates_numericality_of(array $attrs) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"><pre><code>class Person extends ActiveRecord\Model {
  static $validates_numericality_of = array(
    array('salary', 'greater_than' => 19.99, 'less_than' => 99.99)
  );
}
</code></pre>

<p>Available options:</p>

<ul>
<li><b>only_integer:</b> value must be an integer (e.g. not a float)</li>
<li><b>even:</b> must be even</li>
<li><b>odd:</b> must be odd"</li>
<li><b>greater_than:</b> must be greater than specified number</li>
<li><b>greater_than_or_equal_to:</b> must be greater than or equal to specified number</li>
<li><b>equal_to:</b> ...</li>
<li><b>less_than:</b> ...</li>
<li><b>less_than_or_equal_to:</b> ...</li>
<li><b>allow_blank:</b> allow blank strings</li>
<li><b>allow_null:</b> allow null strings</li>
</ul></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$attrs</h4>
<code>array</code><p>Validation definition</p></div>
</div></div>
</div>
<a id="method_validates_presence_of"></a><div class="element clickable method public method_validates_presence_of" data-toggle="collapse" data-target=".method_validates_presence_of .collapse">
<h2>Validates a field is not null and not blank.</h2>
<pre>validates_presence_of(array $attrs) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"><pre><code>class Person extends ActiveRecord\Model {
  static $validates_presence_of = array(
    array('first_name'),
    array('last_name')
  );
}
</code></pre>

<p>Available options:</p>

<ul>
<li><b>message:</b> custom error message</li>
<li><b>allow_blank:</b> allow blank strings</li>
<li><b>allow_null:</b> allow null strings</li>
</ul></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$attrs</h4>
<code>array</code><p>Validation definition</p></div>
</div></div>
</div>
<a id="method_validates_size_of"></a><div class="element clickable method public method_validates_size_of" data-toggle="collapse" data-target=".method_validates_size_of .collapse">
<h2>Alias of {@link validates_length_of}</h2>
<pre>validates_size_of(array $attrs) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$attrs</h4>
<code>array</code><p>Validation definition</p></div>
</div></div>
</div>
<a id="method_validates_uniqueness_of"></a><div class="element clickable method public method_validates_uniqueness_of" data-toggle="collapse" data-target=".method_validates_uniqueness_of .collapse">
<h2>Validates the uniqueness of a value.</h2>
<pre>validates_uniqueness_of(array $attrs) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"><pre><code>class Person extends ActiveRecord\Model {
  static $validates_uniqueness_of = array(
    array('name'),
    array(array('blah','bleh'), 'message' => 'blech')
  );
}
</code></pre>

<p>Available options:</p>

<ul>
<li><b>with:</b> a regular expression</li>
<li><b>message:</b> custom error message</li>
<li><b>allow_blank:</b> allow blank strings</li>
<li><b>allow_null:</b> allow null strings</li>
</ul></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$attrs</h4>
<code>array</code><p>Validation definition</p></div>
</div></div>
</div>
<a id="method_is_blank_with_option"></a><div class="element clickable method private method_is_blank_with_option" data-toggle="collapse" data-target=".method_is_blank_with_option .collapse">
<h2>is_blank_with_option()
        </h2>
<pre>is_blank_with_option($var, $options) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$var</h4></div>
<div class="subelement argument"><h4>$options</h4></div>
</div></div>
</div>
<a id="method_is_null_with_option"></a><div class="element clickable method private method_is_null_with_option" data-toggle="collapse" data-target=".method_is_null_with_option .collapse">
<h2>is_null_with_option()
        </h2>
<pre>is_null_with_option($var, $options) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$var</h4></div>
<div class="subelement argument"><h4>$options</h4></div>
</div></div>
</div>
<h3>
<i class="icon-custom icon-property"></i> Properties</h3>
<a id="property_ALL_NUMERICALITY_CHECKS"> </a><div class="element clickable property private property_ALL_NUMERICALITY_CHECKS" data-toggle="collapse" data-target=".property_ALL_NUMERICALITY_CHECKS .collapse">
<h2></h2>
<pre>$ALL_NUMERICALITY_CHECKS </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_ALL_RANGE_OPTIONS"> </a><div class="element clickable property private property_ALL_RANGE_OPTIONS" data-toggle="collapse" data-target=".property_ALL_RANGE_OPTIONS .collapse">
<h2></h2>
<pre>$ALL_RANGE_OPTIONS </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_DEFAULT_VALIDATION_OPTIONS"> </a><div class="element clickable property private property_DEFAULT_VALIDATION_OPTIONS" data-toggle="collapse" data-target=".property_DEFAULT_VALIDATION_OPTIONS .collapse">
<h2></h2>
<pre>$DEFAULT_VALIDATION_OPTIONS </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_VALIDATION_FUNCTIONS"> </a><div class="element clickable property private property_VALIDATION_FUNCTIONS" data-toggle="collapse" data-target=".property_VALIDATION_FUNCTIONS .collapse">
<h2></h2>
<pre>$VALIDATION_FUNCTIONS </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_model"> </a><div class="element clickable property private property_model" data-toggle="collapse" data-target=".property_model .collapse">
<h2></h2>
<pre>$model </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_options"> </a><div class="element clickable property private property_options" data-toggle="collapse" data-target=".property_options .collapse">
<h2></h2>
<pre>$options </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_record"> </a><div class="element clickable property private property_record" data-toggle="collapse" data-target=".property_record .collapse">
<h2></h2>
<pre>$record </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_validators"> </a><div class="element clickable property private property_validators" data-toggle="collapse" data-target=".property_validators .collapse">
<h2></h2>
<pre>$validators </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
            Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
            Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a12</a> and<br>
            generated on 2013-06-08T13:56:19-04:30.<br></footer></div>
</div>
</body>
</html>
